package com.emmmya.ocs.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.emmmya.ocs.common.base.BaseEntity;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @description:
 * @author: 咕噜肉IT小店-黑医
 * @createDate: 2021-02-20
 * @version: 1.0
 */
@Data
@Entity
@TableName("h_dict")
@Table(name="h_dict")
@ToString
public class Dict extends BaseEntity {
    /**
     * 字典名称
     */
    @Column(name="dict_name",unique = true)
    private String dictName;
    /**
     * 字典类型
     */
    @Column(name="dict_type")
    private String dictType;
    /**
     * 备注
     */
    @Column(name="remarks",columnDefinition = "varchar(200)")
    private String remarks;
    /**
     * 排序值
     */
    @Column(name="No")
    private int no;
}
